package com.sunyur.tailor.channel.web.outer.file.dto;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: HuBaoding
 * @Description: 文件下载，入参
 * @Date: Created in 17:44 2021/8/9
 */
public class FileDownloadDTO implements Serializable {

    @NotBlank(message = "文件路径不许为空")
    private String key;

    @NotBlank(message = "文件名称不许为空")
    private String name;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
